package gui;

import java.awt.Rectangle;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class TelaContasAReceber extends JFrame {

	private static final long serialVersionUID = 1L;
	private JPanel jContentPane = null;
	private JLabel jLabelBuscarCliente = null;
	private JTextField jTextFieldCliente = null;
	private JButton jButtonOk = null;
	private JTextField jTextField = null;
	private JLabel jLabelClienteSelecionado = null;
	private JTextField jTextFieldClienteSelecionado = null;
	private JButton jButtonLimpar = null;
	private JButton jButtonCancelar = null;
	private JButton jButtonDarBaixa = null;

	/**
	 * This is the default constructor
	 */
	public TelaContasAReceber() {
		super();
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setResizable(false);
		this.setSize(590, 590);
		this.setContentPane(getJContentPane());
		this.setTitle("Gestock v1.00 - Contas a Receber");
	}

	/**
	 * This method initializes jContentPane
	 * 
	 * @return javax.swing.JPanel
	 */
	private JPanel getJContentPane() {
		if (jContentPane == null) {
			jLabelClienteSelecionado = new JLabel();
			jLabelClienteSelecionado.setBounds(new Rectangle(29, 447, 120, 22));
			jLabelClienteSelecionado.setText("Cliente Selecionado:");
			jLabelBuscarCliente = new JLabel();
			jLabelBuscarCliente.setBounds(new Rectangle(29, 44, 90, 22));
			jLabelBuscarCliente.setText("Buscar Cliente:");
			jContentPane = new JPanel();
			jContentPane.setLayout(null);
			jContentPane.add(jLabelBuscarCliente, null);
			jContentPane.add(getJTextFieldCliente(), null);
			jContentPane.add(getJButtonOk(), null);
			jContentPane.add(getJTextField(), null);
			jContentPane.add(jLabelClienteSelecionado, null);
			jContentPane.add(getJTextFieldClienteSelecionado(), null);
			jContentPane.add(getJButtonLimpar(), null);
			jContentPane.add(getJButtonCancelar(), null);
			jContentPane.add(getJButtonDarBaixa(), null);
		}
		return jContentPane;
	}

	/**
	 * This method initializes jTextFieldCliente
	 * 
	 * @return javax.swing.JTextField
	 */
	private JTextField getJTextFieldCliente() {
		if (jTextFieldCliente == null) {
			jTextFieldCliente = new JTextField();
			jTextFieldCliente.setBounds(new Rectangle(135, 43, 300, 26));
		}
		return jTextFieldCliente;
	}

	/**
	 * This method initializes jButtonOk
	 * 
	 * @return javax.swing.JButton
	 */
	private JButton getJButtonOk() {
		if (jButtonOk == null) {
			jButtonOk = new JButton();
			jButtonOk.setBounds(new Rectangle(466, 43, 90, 26));
			jButtonOk.setText("OK");
		}
		return jButtonOk;
	}

	/**
	 * This method initializes jTextField
	 * 
	 * @return javax.swing.JTextField
	 */
	private JTextField getJTextField() {
		if (jTextField == null) {
			jTextField = new JTextField();
			jTextField.setBounds(new Rectangle(29, 97, 528, 328));
			jTextField.setText("Lista de Mow");
		}
		return jTextField;
	}

	/**
	 * This method initializes jTextFieldClienteSelecionado
	 * 
	 * @return javax.swing.JTextField
	 */
	private JTextField getJTextFieldClienteSelecionado() {
		if (jTextFieldClienteSelecionado == null) {
			jTextFieldClienteSelecionado = new JTextField();
			jTextFieldClienteSelecionado.setBounds(new Rectangle(163, 445, 394,
					26));
		}
		return jTextFieldClienteSelecionado;
	}

	/**
	 * This method initializes jButtonLimpar
	 * 
	 * @return javax.swing.JButton
	 */
	private JButton getJButtonLimpar() {
		if (jButtonLimpar == null) {
			jButtonLimpar = new JButton();
			jButtonLimpar.setBounds(new Rectangle(256, 494, 90, 26));
			jButtonLimpar.setText("Limpar");
		}
		return jButtonLimpar;
	}

	/**
	 * This method initializes jButtonCancelar
	 * 
	 * @return javax.swing.JButton
	 */
	private JButton getJButtonCancelar() {
		if (jButtonCancelar == null) {
			jButtonCancelar = new JButton();
			jButtonCancelar.setBounds(new Rectangle(361, 494, 90, 26));
			jButtonCancelar.setText("Cancelar");
		}
		return jButtonCancelar;
	}

	/**
	 * This method initializes jButtonDarBaixa
	 * 
	 * @return javax.swing.JButton
	 */
	private JButton getJButtonDarBaixa() {
		if (jButtonDarBaixa == null) {
			jButtonDarBaixa = new JButton();
			jButtonDarBaixa.setBounds(new Rectangle(466, 494, 90, 26));
			jButtonDarBaixa.setText("Dar Baixa");
		}
		return jButtonDarBaixa;
	}

}
